/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 *//*

package cz.worsik.android.test.rideshare.util.listener;

import android.view.View;
import cz.worsik.android.test.rideshare.MainActivity;
import cz.worsik.android.test.rideshare.model.list.ETableType;

public class ChangeMonthListener implements View.OnClickListener
{
	public String type;
	MainActivity a;

	public ChangeMonthListener(MainActivity a, String type) {
		this.a = a;
		this.type = type;
	}

	public void onClick(View v) {
		if ("prev".equals(type)) {
			a.prevMonth();
		}
		if ("next".equals(type)) {
			a.nextMonth();
		}

		// prekreslit bilance
		a.generateBilanceTables();
		a.generateBilanceHistory(ETableType.JIZDY);
	}
}*/
